package loan.calc.constant.dict;

import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;
import loan.calc.constant.dict.base.DictEnum;

@Getter
@AllArgsConstructor
@DictEnum(value = "LockStatus", description = "锁定状态")
public enum LockStatusEnum implements BaseDictEnum {
    UNLOCK("解锁"),
    DAY_END("日终"),
    PAYMENT("还款"),
    CHANGE("变更"),
    DEDUCT("减免"),
    WRITE_OFF("核销"),
    REVERSE("冲销"),
    ;

    private final String value;

    private final String description;

    LockStatusEnum(String description) {
        this.description = description;
        this.value = name();
    }
}
